#include <cstdio>

const int N = 100;
int n;

int main() {
#ifndef ONLINE_JUDGE
#ifdef LOCAL
  freopen("testdata.in", "r", stdin);
  freopen("testdata.out", "w", stdout);
#endif
#ifndef LOCAL
  freopen("T3.in", "r", stdin);
  freopen("T3.out", "w", stdout);
#endif
#endif


  return 0;
}